
package Dividebyzero;
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try{
            System.out.println(3/0);
        }
        catch (ArithmeticException e){
            e.printStackTrace();
            System.out.printf("No exception anymore because I catched them all.\n");
            System.err.printf("Caught runtime exception= %s\n",e.getClass());
        }
    }

}